<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>Danikla</title>
	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
	<link rel="stylesheet" type="text/css" href="/stylesheet/jquery/style.css" />
	<link rel="stylesheet" type="text/css" href="/stylesheet/style.css" />
	<link rel="stylesheet" type="text/css" href="/stylesheet/jquery-gmaps.min.css" />
	<link rel="stylesheet" type="text/css" href="/stylesheet/jquery-gmaps-print.min.css" media="print" />
	
	<script type="text/javascript" src="/javascript/jquery-1.6.1.min.js"></script>
	<script type="text/javascript" src="/javascript/jquery-ui-1.8.9.custom.min.js"></script>
	<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=true&amp;language=<?php echo $_SESSION["language"]; ?>"></script>
	<script type="text/javascript" src="/javascript/jquery-gmaps-1.0.0.min.js"></script>
	<script type="text/javascript" src="/javascript/script.js"></script>
	
	<script type="text/javascript">
		var CURRENT_LANG = "<?php echo $_SESSION["language"]; ?>";
	</script>
</head>

<body>

<div id="site">
	<div id="header">
		<a id="logo" href="/" title="<?php __("Startseite"); ?>"><img src="/image/danikla.png" alt="Danikla" /></a>
		<?php echo $this->fetch("language_selector"); ?>
		<?php echo $this->fetch("main_menu"); ?>
	</div>
	<div id="content">
		<?php echo $__content; ?>
	</div>
	<br clear="all" />
	<div id="footer">Copyright &copy; 2011</div>
	<div class="throbber"><?php __("Bitte warten"); ?>...</div>
	<?php if($_SESSION["user"]): ?>
	<div id="control-panel">
		<?php 
			$page = $this->request->params[0];
			$page = $page ? $page : "index"; 
		?>
		<a href="javascript:void(0)" onclick="PageEdit('<?php echo $page; ?>');"><?php __("Seite bearbeiten"); ?></a>
		<a href="/admin/logout"><?php __("Ausloggen"); ?></a>
	</div>
	<?php endif; ?>
</div>

</body>
</html>